<template>
  <el-card>
    <template #header>销量数据展示</template>

    <div class="content">
      <!-- 1.0 折线图 -->
      <div>
        <LineChart02 />
      </div>

      <!-- 2.0 南丁格尔玫瑰图 -->
      <div>
        <PieChart02 />
      </div>
    </div>
  </el-card>
</template>

<script>
import LineChart02 from './components/LineChart02.vue'
import PieChart02 from './components/PieChart02.vue'

export default {
  components: {
    LineChart02,
    PieChart02
  }
}
</script>

<style lang="less" scoped>
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;

  > div:nth-of-type(1) {
    flex: 0 0 60%;
  }
  > div:nth-of-type(2) {
    flex: 0 0 35%;
  }
}
</style>
